Optimal. Leaf size=25 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0062912, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {217, 206} \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+b x^2}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{a+b x^2}}\right )\\ &=\frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.0046142, size = 25, normalized size = 1. \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 21, normalized size = 0.8 \begin{align*}{\ln \left ( x\sqrt{b}+\sqrt{b{x}^{2}+a} \right ){\frac{1}{\sqrt{b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.57856, size = 153, normalized size = 6.12 \begin{align*} \left [\frac{\log \left (-2 \, b x^{2} - 2 \, \sqrt{b x^{2} + a} \sqrt{b} x - a\right )}{2 \, \sqrt{b}}, -\frac{\sqrt{-b} \arctan \left (\frac{\sqrt{-b} x}{\sqrt{b x^{2} + a}}\right )}{b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.992651, size = 17, normalized size = 0.68 \begin{align*} \frac{\operatorname{asinh}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{\sqrt{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16954, size = 31, normalized size = 1.24 \begin{align*} -\frac{\log \left ({\left | -\sqrt{b} x + \sqrt{b x^{2} + a} \right |}\right )}{\sqrt{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]